package nicg.st.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author GeChen
 * @Description 接受前端选择的树形结构
 * @date 2019/11/3 23:09
 */
public class BuildTreeVO {
    /**
     * name : 新建指标体系
     * list : [{"indicatorName":"完成度","relativeWeight":0.5,"id":7,"parentId":2},{"indicatorName":"对战略目标的影响程度","relativeWeight":0.3,"id":9,"parentId":3},{"indicatorName":"我方人员","relativeWeight":0.4,"id":13,"parentId":4},{"indicatorName":"油料成本","relativeWeight":0.25,"id":15,"parentId":5},{"indicatorName":"基础设施","relativeWeight":0.2,"id":14,"parentId":6}]
     */
    @JsonProperty("name")
    private String name;
    @JsonProperty("list")
    private List<ListEntity> list;
    @JsonProperty("userId")
    private Integer userId;
    @JsonProperty("indicatorSystemId")
    private Integer indicatorSystemId;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<ListEntity> getList() {
		return list;
	}
	public void setList(List<ListEntity> list) {
		this.list = list;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getIndicatorSystemId() {
		return indicatorSystemId;
	}
	public void setIndicatorSystemId(Integer indicatorSystemId) {
		this.indicatorSystemId = indicatorSystemId;
	}
	@Override
	public String toString() {
		return "BuildTreeVO [name=" + name + ", list=" + list + ", userId="
				+ userId + ", indicatorSystemId=" + indicatorSystemId + "]";
	}

    

}
